import { copyTmp, DirTemplate, DirTemplateCreator, dirTmp, renderTmp } from '../models/template-models';

/**
 * API10 默认工程文件
 *
 * @return {DirTemplate}
 */
const api10DefaultProject: DirTemplateCreator = (dirName): DirTemplate => dirTmp(dirName)
  .add(copyTmp('/project/common/AppScope'))
  .add(renderTmp('/project/common/build-profile.json5'))
  .add(copyTmp('/project/common/hvigorfile.ts'))
  .add(copyTmp('/project/common/hvigor'))
  .add(renderTmp('/project/common/local.properties'))
  .add(renderTmp('/project/common/oh-package.json5'));

export const defaultDir = {
  api10project: api10DefaultProject,

};


